Personal tools

Lua/Events/Shared/ModuleUnload

From JC2-MP Documentation

< Lua
Jump to: navigation, search
Name    ModuleUnload
Arguments (in table)    None
Return option    None


Description

Fired on module unload. This can happen when the module is unloaded or reloaded, including:

  • The unload console command
  • The reload console command
  • (Server) Shutdown
  • (Client) Disconnecting or quitting